Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPC Contract Update #16

Merged
merged 2 commits into from
Mar 23, 2024
Merged

MPC Contract Update #16

merged 2 commits into from
Mar 23, 2024

Conversation

bh2smith
Copy link
Contributor

Contract was updated to make a sign request argument required. cf here: near/mpc#509

We also update the tyeps and add MOAR docs.

@bh2smith bh2smith merged commit bf31a15 into main Mar 23, 2024
1 check passed
@bh2smith bh2smith deleted the contract-update branch March 23, 2024 11:55
Comment on lines +49 to +60
/**
* @returns ETH address derived by Near account via `derivationPath`.
*/
ethPublicKey(): Address {
return this.sender;
}
/**
* @returns Near accountId linked to derived ETH.
*/
nearAccountId(): string {
return this.mpcContract.contract.account.accountId;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These public access methods were recently made while making this.sender private and the opensea script got botched because it still used this field.

Script was hotfixed here, but we should really run some CI to ensure that the examples directory is "sound"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant